<html>

<head>
    <title>Blog Content</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!--    <link rel="stylesheet" type="text/css" href="file:///android_asset/ArticleCss.css" />-->

</head>
<style type="text/css">
    #css_include#

</style>

<style>
    /*加载后图片变回适配的样式*/
    #content .lazypic_after {
        width: 100% !important;
        height: auto !important;
    }

/*默认要有个高度才行*/
/*<!-- 自适应宽度的图片样式（常用于移动端） -->*/
/*#article_content .lazypic{width:100%;height:0;padding-top:75%;background-size:100%;}*/
#content .lazypic{
    width:100% !important;
    height:0 !important;
    padding-top:75% !important;
    background-size:100% !important;
}
/* 假设高宽比为 480:640，即75%，并使用背景图的方式将图片铺在padding-top区域内
 （padding的百分比是宽度的百分比而不是高度的，即使是padding-top|padding-bottom） */
</style>



<body>
<div id="header">
    <h3>
        #title#
    </h3>

    <div class="describe">
        <p/>#author#
        <p/>

        <div id="info">#info#
            <p/>#time#</div>
    </div>
</div>
<div id="content">
    #content#
</div>
</body>
<script type='text/javascript'>
    //#js_include_zepto3#
    </script>
<script type='text/javascript'>
    //#js_include_lazy4#
    </script>
<script>
    (function() {
     var objs = document.getElementsByTagName('img');
					for (var i = 0; i < objs.length; i++) {
     objs[i].onclick = function() {
     window.location="pic:"+this.src;
     }
					}
     
     })();
     
     
     (function(){
      var objs = document.getElementById("content").getElementsByTagName('img');
      for(var i = 0; i < objs.length; i++) {
      objs[i].setAttribute("data-original",objs[i].src);
      objs[i].removeAttribute("src");
      $(objs[i]).addClass("lazypic")
      }
      
      var options = {
      load:function () {
      $(this).removeClass("lazypic");
      $(this).addClass("lazypic_after");
      }
      }
      $("img.lazypic").lazyload(options);
      }());

    </script>

</html>
